#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define endl '\n'
int n;
int a[1030] = { 1 };

int main() {
	ios::sync_with_stdio(0), cin.tie(0), cout.tie(0);
	cin >> n;
	int t = pow(2, n);
	for (int i = 0; i < t; i++) {
		for (int j = 1; j < t - i; j++) cout << " ";
		for (int j = i; j >= 0; j--) a[j] ^= a[j - 1];
		if (i & 1) {
			for (int j = 0; j <= i; j += 2) {
				if (a[j]) cout << "/__\\";
				else cout << "    ";
			}
		}else {
			for (int j = 0; j <= i; j++) {
				if (a[j]) cout << "/\\";
				else cout << "  ";
			}
		}
		cout << endl;
	}
	return 0;
}